package com.mate.cloud.order;

import com.mate.cloud.order.domain.OrderDTO;
import com.mate.cloud.order.handler.OrderChainHandler;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * 订单测试
 *
 * @author: MI
 * @email: 448341911@qq.com
 * @createTime: 2025/1/27 15:07
 * @updateUser: MI
 * @updateTime: 2025/1/27 15:07
 * @updateRemark: 修改内容
 * @version: v1.0
 */
@SpringBootTest
public class SpringBootOrderChainApplicationTest {


    @Autowired
    private OrderChainHandler orderChainHandler;

    @Test
    public void orderTest() {

        orderChainHandler.executionChain(new OrderDTO()).getMsg();
    }


}